package com.kws.merchant.domain;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 商家-指标(Target)表实体类
 *
 * @author yxy
 * @since 2024-11-04 11:39:02
 */
@Data
@ApiModel("商家-指标")
@TableName(value = "tb_target")
public class Target extends Model<Target> implements Serializable {
    private static final long serialVersionUID = 480601504136969716L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("$column.comment")
    private Long id;

    @ApiModelProperty("$column.comment")
    private String targetName;

    @ApiModelProperty("0商家经营数据 1商家财务数据")
    private Integer type;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("$column.comment")
    private Date createTime;
}
